/*
 * @(#)ServiceActionError.java
 * Date 2013-09-21
 * Version 1.0
 * Author Jim Horner
 * Copyright (c)2012
 */


package us.hornerscorners.lamppost.exception;

/**
 * Class description
 *
 *
 * @version        v1.0, 2013-09-21
 * @author         Jim Horner
 */
public class ServiceActionError {

    /** Field description */
    private final String codeContext;

    /** Field description */
    private final String errorCode;

    /** Field description */
    private final SeverityType severity;

    /**
     * Constructs ...
     *
     *
     * @param errorCode
     * @param codeContext
     * @param severity
     */
    public ServiceActionError(String errorCode, String codeContext,
                              SeverityType severity) {

        super();
        this.errorCode = errorCode;
        this.codeContext = codeContext;
        this.severity = severity;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getCodeContext() {
        return codeContext;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getErrorCode() {
        return errorCode;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public SeverityType getSeverity() {
        return severity;
    }
}
